package jam.network.message;

import jam.network.NetworkController;
import java.util.Scanner;

public class ServerActionPing extends ServerAction {

	public static void process(String msg) {

		Scanner s = new Scanner(msg);
		s.useDelimiter(":");

		//skip keyword and transID
		s.next();
		int id = s.nextInt();

		//reply to the server ping
		NetworkController.send( ("SA_PING:" + id + ":TRUE") );
	}

}